#include "stdafx.h"
#include "level_object.h"

namespace rpg {

	LevelObject::LevelObject(const LevelObjectDesc &levelObjectDesc) {
		mName = levelObjectDesc.name;
		mPosition = levelObjectDesc.position;
		mTurnAngle = levelObjectDesc.turnAngle;
	}

	LevelObject::~LevelObject(void) {
	}

	Ogre::String LevelObject::getName(void) const {
		return mName;
	}

	void LevelObject::setName(const Ogre::String &name) {
		mName = name;
	}

	Ogre::Vector3 LevelObject::getPosition(void) const {
		return mPosition;
	}

	void LevelObject::setPosition(const Ogre::Vector3 &position) {
		mPosition = position;
	}

	Ogre::Real LevelObject::getTurnAngle(void) const {
		return mTurnAngle;
	}

	void LevelObject::setTurnAngle(Ogre::Real turnAngle) {
		mTurnAngle = turnAngle;
	}

}